package com.credit.anypermission.interfaces

import androidx.fragment.app.Fragment
import androidx.fragment.app.FragmentActivity

interface IPermissionProcessor {

    fun setActivity(activity: FragmentActivity)

    fun setFragment(fragment: Fragment)

    fun permissions(vararg permissions: String)

    fun requestListener(listener: RequestListener)

    fun onBeforeRequest(onBeforeRequest: RequestInterceptor<String>)

    fun onBeenDenied(onBeenDenied: RequestInterceptor<String>)

    fun onGoSetting(onGoSetting: RequestInterceptor<String>)

}